import 'package:flutter/material.dart';
import 'package:flutter_framework_master/base/BaseViewPageWidget.dart';
import 'package:flutter_framework_master/base/BaseWidget.dart';
import 'package:flutter_framework_master/widget/JhTextField.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

/**
 *Created by Jcy
 *on 2021/9/26
 */
class DiscoverPage extends BaseViewPageWidget {
  @override
  BaseViewPageWidgetState<BaseViewPageWidget> getState() {
    // TODO: implement getState
    return _DiscoverPageState();
  }
}

class _DiscoverPageState extends BaseViewPageWidgetState<DiscoverPage> {
  @override
  Widget buildWidget(BuildContext context) {
    // TODO: implement buildWidget
    return Container(
      child: Text('aaaaa'),
    );
  }

  @override
  void onCreate() {
    // TODO: implement onCreate
    setEmptyWidgetVisible(true);
    setLoadingWidgetVisible(false);
    setErrorWidgetVisible(false);
    setAppBarColor(Colors.red);
  }

  @override
  void onPause() {
    // TODO: implement onPause
  }

  @override
  void onResume() {
    // TODO: implement onResume
  }

  @override
  Widget setAppBar() {
    // TODO: implement setAppBar
    return Container();
  }
}
